package com.baidu.day5;

import java.util.Scanner;

public class Demo06 {
    public static void main(String[] args) {
        Student s = new Student();
        System.out.println("请输入指令");
        Scanner sc = new Scanner(System.in);
        String name = sc.next();
        s.setName(name);
        System.out.println(s.getName());

    }

}
